package com.cgwx.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

public enum QualityReportStatus implements InfoEnum{
    WAIT_FOR_CONFIRM("WAIT_FOR_CONFIRM","待确认"),
    WAIT_FOR_ASSIGN("WAIT_FOR_ASSIGN","待指派"),
    WAIT_FOR_SOLVE("WAIT_FOR_SOLVE","待解决"),
    WAIT_FOR_CHECK("WAIT_FOR_CHECK","待验收"),
    CHECK_APPROVE("CHECK_APPROVE","验收通过"),
    REJECT("REJECT","审核驳回");

    @JsonValue
    private String code;
    private String info;

    @Override
    public String getSelfCode() {
        return code;
    }

    @Override
    public String getSelfInfo() {
        return info;
    }

    QualityReportStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }


}
